package sk;

public class CutStringThread implements Runnable {

	private int index;
	private int length;
	private String src;
	
	public CutStringThread(int index, int length, String src) {
		this.index = index;
		this.length = length;
		this.src = src;
	}
	
	@Override
	public void run() {
		System.out.println("线程 : " + Thread.currentThread().getName() + " : " + src.substring(index, index+length));
	}

}
